/*
 # 预科-毕业管理
 ## 预科结业管理
  ** 接口请求api **
 */
import { http, prefix } from './common';

const service = prefix + '/preparatoryCompletionManagement';

const url = {
  pageList: `${service}/pageList`,
  setOffSchoolDate: `${service}/setOffSchoolDate`,
  batchSetOffSchoolDate: `${service}/batchSetOffSchoolDate`,
  batchDownloadSchoolReports: '/api/scoremanagementservice/scorePrint/scoresheet/exportBatch',
  exportBatchForKey: '/api/scoremanagementservice/scorePrint/scoresheet/exportBatchForKey?key='
};

export default {
  pageList: (params) => http.httpPost(url.pageList, params),
  setOffSchoolDate: (params) => http.httpPost(url.setOffSchoolDate, params),
  batchSetOffSchoolDate: (params) => http.httpPost(url.batchSetOffSchoolDate, params),
  batchDownloadSchoolReports: (params) => http.httpPost(url.batchDownloadSchoolReports, params),
  exportBatchForKey: (key) => http.httpGet(`${url.exportBatchForKey}${key}`)
}

